package com.estate.service.state;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.estate.mapper.StateMapper;
import com.estate.pojo.State;

@Service
public class StateServiceImpl implements StateService {
	@Autowired
	private StateMapper stateMapper;

	@Override
	public List<State> allState() throws Exception{
		List<State> list = stateMapper.allState();
		return list;
	}

}
